﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace NJL.WebUsers.Controls
{
    public partial class WUEnterPriseSpaceLeftBook : BaseUserControl
    {
        private readonly NJL.BLL.NJL_SYS_BASE bllBase = new BLL.NJL_SYS_BASE();
        private readonly NJL.BLL.NJL_BOOK bllBook = new BLL.NJL_BOOK();

        protected NJL.Model.NJL_SYS_BASE MODEL_BASE;
        protected IList<Model.NJL_BOOK> LIST_BOOK;



        protected void Page_Load(object sender, EventArgs e)
        {
            //获取订票信息
            if (!IsPostBack)
            {
                LIST_BOOK = bllBook.GetModelList(" NJL_SYS_BASE_ID='" + WEBSITE_CODE + "' AND TYPE_CODE='2' AND TARGET_ID='" + Request.QueryString["id"] + "' ");

                MODEL_BASE = bllBase.GetModel(WEBSITE_CODE);
            }
        }
    }
}